package com.zr.system.domain;

import com.zr.common.annotation.Excel;
import com.zr.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 移动端通告对象 sys_announce
 * 
 * @author why
 * @date 2022-10-26
 */
public class SysAnnounce extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通告ID */
    private Long announceId;

    /** 通告内容 */
    @Excel(name = "通告内容")
    private String content;

    /** 角色ID */
    @Excel(name = "角色ID")
    private Long roleId;

    public void setAnnounceId(Long announceId) 
    {
        this.announceId = announceId;
    }

    public Long getAnnounceId() 
    {
        return announceId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    public Long getRoleId() 
    {
        return roleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("announceId", getAnnounceId())
            .append("content", getContent())
            .append("roleId", getRoleId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
